{
struct xenbus_device *dev = be->dev;
unsigned long tx_ring_ref, rx_ring_ref;
- unsigned int evtchn, copyall;
+ unsigned int evtchn, rx_copy;
int err;
int val;
return err;
}
- err = xenbus_scanf(XBT_NIL, dev->otherend, "copyall", "%u", ©all);
+ err = xenbus_scanf(XBT_NIL, dev->otherend, "request-rx-copy", "%u",
+ &rx_copy);
if (err == -ENOENT) {
err = 0;
- copyall = 0;
+ rx_copy = 0;
}
if (err < 0) {
- xenbus_dev_fatal(dev, err, "reading %s/copyall",
+ xenbus_dev_fatal(dev, err, "reading %s/request-rx-copy",
dev->otherend);
return err;
}
- be->netif->copying_receiver = !!copyall;
+ be->netif->copying_receiver = !!rx_copy;
if (xenbus_scanf(XBT_NIL, dev->otherend, "feature-rx-notify", "%d",
&val) < 0)